﻿
@{
    ViewBag.Title = "节点商城";
    Layout = "~/Views/Shared/_MallLayout.cshtml";
    string img_url = ViewBag.img_url;
}
@model shop_info_dto
<body class="page-notice page-nodesStore">

    @*<div class="lt-head">
            <a href="javascript:history.go(-1);">
                <i class="icon-back fn-left"></i>
            </a>
            <span class="center">节点商城</span>
        </div>*@
    <!--header end-->

    <div class="menberCenter ">
        @{ string style = "background-image:url(" + (img_url + Model.shop_background_img) + ");background-size: 100% 100%; ";
        }

        <div class="innerBox" style="@(!string.IsNullOrEmpty(Model.shop_background_img)?style:"")">
            <div class="peo">
                <img src="@(img_url+Model.shop_logo)" alt="">
            </div>
            <div class="name fn30">@Model.shop_name</div>
            <p class="describe fn24">
                @Model.remark
            </p>
            <a href="/shopinfo/myshop?id=@Model.id" class="ui-btn-preview">预览商城</a>
        </div>
    </div>

    <div class="noti">
        <ul>
            <li class="shop">
                <a>
                    <div class="left">
                        <i class="icon-menu1"></i>
                    </div>
                    <div class="text">
                        <i class="icon-go"></i>
                        <div class="tit pt47">商城管理</div>
                    </div>
                </a>
            </li>
            <li>
                <a href="/ProductManage/ProductList">
                    <div class="left">
                        <i class="icon-menu2"></i>
                    </div>
                    <div class="text">
                        <i class="icon-go"></i>
                        <div class="tit pt47">商品管理</div>
                    </div>
                </a>
            </li>
            <li>
                <a href="/MyOrder/SellerOrderList">
                    <div class="left">
                        <i class="icon-menu3"></i>
                    </div>
                    <div class="text">
                        <i class="icon-go"></i>
                        <div class="tit pt47">订单管理</div>
                    </div>
                </a>
            </li>
            <li>
                <a href="/mybill/walletdetail?type=3">
                    <div class="left">
                        <i class="icon-menu4"></i>
                    </div>
                    <div class="text">
                        <i class="icon-go"></i>
                        <div class="tit pt47">账户管理</div>
                    </div>
                </a>
            </li>
        </ul>
    </div>
    <script src="~/Scripts/token-common.js"></script>
    <script type="text/javascript">
        $(".shop").click(function () {
            try {
                if (browser.versions.ios) {
                    window.webkit.messageHandlers.mallEditAction.postMessage('');
                } else if (browser.versions.android) {
                    androidfuntion.mallEditAction()
                }
            } catch (e) {
                layer.msg("请在APP内完善店铺信息");
                // location.href = "/shopinfo/index";
            }
        });
    </script>
</body>

